﻿using Basic.FlowCollect;
using Basic.FlowRemoteModel.NodeFormData.Model;
using Basic.FlowService.Interface;

namespace Basic.FlowService.lmpl
{
    internal class FlowAppFormRelationService : IFlowAppFormRelationService
    {
        private readonly IFlowAppFormRelationCollect _Service;

        public FlowAppFormRelationService ( IFlowAppFormRelationCollect service )
        {
            this._Service = service;
        }
        public DataRelation[] Gets ( long appId )
        {
            return this._Service.Gets(appId);
        }
        public void Sync ( long appId, DataRelation[] adds )
        {
            this._Service.Sync(appId, adds);
        }
    }
}
